package com.hs.live.common.redis.key;

/**
 * @Description: RedisKey生成工具类
 * @Author 胡尚
 * @Date: 2024/9/6 15:41
 */
public class UserRedisKeyGenerate {
    /**
     * 保存user信息的key
     */
    private static final String USER_INFO = "user:info:";


    public static String getUserInfoKey(Long userId){
        return USER_INFO + userId;
    }
}
